package TransactionImplementation

//删除员工事务
//引入类
import "SalaryPayment/DataBase"

//结构体
type DeleteEmployeeTransaction struct {
	itsEmpid int
}

//删除操作
func (transaction *DeleteEmployeeTransaction) Execute() {
	//删除员工
	DataBase.PayrollDatabase.DeleteEmployee(transaction.itsEmpid)
}
